Skip to content

fix(ci): decouple build and deploy jobs in GitHub Pages workflow - #258

Merged
Ritual-Dev-Git merged 1 commit into
mainfrom
fix/decouple-pages-build-deploy-jobs
Nov 24, 2026
Merged

Ritual-Dev-Git merged 1 commit into
mainfrom
fix/decouple-pages-build-deploy-jobs

Conversation

@Ritual-Dev-Git

Copy link
Copy Markdown
Collaborator

??? GitHub Pages Deployment Architecture Fix

Root Cause

When actions/upload-pages-artifact and actions/deploy-pages run sequentially within the exact same runner job, an API indexing race condition occurs on GitHub Actions where the deployment action queries the artifact before the artifact service indexes github-pages, resulting in:
Error: No artifacts named "github-pages" were found for this workflow run.
(Failing after ~24s on push).

Solution

Follow official GitHub Pages workflow standard by decoupling into two jobs:

  1. build: Checks out, compiles catalog & assets, runs IndexNow, configures Pages, and uploads the artifact.
  2. deploy: Requires needs: build, runs in the isolated github-pages environment, and deploys the indexed artifact cleanly without race conditions.

@github-actions

Copy link
Copy Markdown
Contributor

🤖 DevShelf AI-Driven PR Optimization & Tagging

Automated Heuristic Analyzer • Add GEMINI_API_KEY for LLM enhancement.

📦 Resource: Open-Meteo

  • Target File: shelf/apis.json
  • Suggested Category: Weather & Climate.json
  • Recommended Tags: [100% Free Tier] [No Auth Required]

📝 Description Refinement

  • Original: "Free weather forecast API for commercial and non-commercial use with hourly forecasts and historical weather data."
  • ✨ Suggested: "Free weather forecast API for commercial and non-commercial use with hourly forecasts and historical weather data."

📋 Ready-to-Merge JSON Block

{
  "name": "Open-Meteo",
  "url": "https://open-meteo.com",
  "category": "Weather & Climate",
  "description": "Free weather forecast API for commercial and non-commercial use with hourly forecasts and historical weather data.",
  "auth": "No Key",
  "cors": "Yes",
  "rateLimit": "10,000 req/day",
  "https": true,
  "statusTags": [
    "[100% Free Tier]",
    "[No Auth Required]"
  ],
  "section": "Weather & Climate"
}

💡 Contributors can copy the JSON block above directly into their PR to ensure pristine catalog formatting.

@Ritual-Dev-Git
Ritual-Dev-Git merged commit d24d596 into main Nov 24, 2026
10 checks passed
@Ritual-Dev-Git
Ritual-Dev-Git deleted the fix/decouple-pages-build-deploy-jobs branch November 24, 2026 07:05
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Congratulations @Ritual-Dev-Git! Your tool is officially LIVE on DevShelf! 🎉

Your submission of your project has passed all schema, duplicate, and endpoint integrity audits and is now merged into main!

🌐 Permanent Live Listing

Your project has a dedicated, high-ranking SEO landing page with verified zero-paywall status and machine-readable JSON-LD grounding:
👉 View your project on RitualDev Hub • View on DevShelf Standalone


⚡ Want 10x More Developer Discovery? Feature Your Tool

DevShelf reaches thousands of technical founders, engineers, and AI developers every week across the Web, CLI (devshelf search), and MCP agents.

As a verified contributor, unlock exclusive partner boost tiers:

(Or view all custom sponsorship packages and instant tax invoices on the DevShelf Partner Portal)


🏷️ Add the Official "DevShelf Verified" Backlink Badge

Show users that your project is community-verified with zero paywalls by adding an official badge to your README.md:

Style 1: Verified Green Pill (Recommended)

DevShelf Verified

[![DevShelf Verified](https://ritualdev.in/badge/.svg)](https://ritualdev.in/devshelf)

Style 2: Flat Shield Badge

Featured on DevShelf

[![Featured on DevShelf](https://ritualdev.in/badge/.svg)](https://ritualdev.in/devshelf)

🎨 View Partner Portal & Verified Badges


📢 Amplify & Get Discovered

Welcome to the community! 🤝

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants